<?php
require_once 'test/Tester.php';
require_once 'interpreter/Interpreter.php';
$test = false;
if($test){
	new Tester();
}
else{
	if(isset($_POST["command"])){
		header("Content-Type:text/xml");
		$interpreter = new Interpreter();
		$interpreter->interpret($_POST["command"]);
		$interpreter->executeCommands();
	}
}